package com.lysj.food.food.controller;

import com.lysj.admin.utils.spring.foundation.base.BaseController;
import com.lysj.admin.utils.validation.annotation.Valid;
import com.lysj.admin.utils.web.Resp;
import com.lysj.food.food.domain.FoodAttribute;
import com.lysj.food.food.domain.FoodAttributeDetail;
import com.lysj.food.food.service.FoodAttributeDetailService;
import com.lysj.food.food.service.FoodAttributeService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author Created by wtl on 2019-03-19 16:00:45
 * @description 菜品属性详情控制层
 */
@Slf4j
@RestController
@RequestMapping("/food/food_attribute_detail")
public class FoodAttributeDetailController extends BaseController<FoodAttributeDetail> {

    @Resource
    private FoodAttributeDetailService foodAttributeDetailService;

    @Override
    public FoodAttributeDetailService getService() {
        return foodAttributeDetailService;
    }

}
